package com.gong.DesignPattern.factoryPattern.AbstractFactory;

import com.gong.DesignPattern.factoryPattern.simpleFactory.Iphone;
import com.gong.DesignPattern.factoryPattern.simpleFactory.Phone;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/8 0008 9:11
 */
public class IphoneFactory implements Factory {
    @Override
    public Phone makePhone() {
        return new Iphone();
    }

    @Override
    public Pc makePc() {
        return new IphonePc();
    }
}
